Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Sigmund Nimnubur 16.Apr.03 07:24 PM a Web browser
Applications Development All Releases Windows 2000


I have created a servlet on websphere that creates a session to Domino. I know SSO is setup correctly between WebSphere 4.0.4 and Domino 6.0.1, but I am coding a servlet to take over the login due to a lack of control of the login through the custom forms login options in WebSphere 4.

The problem I am having is that when I create a session with Domino by using the NotesFactory.createSession(host,user,password) method, a session is established but no ltpa token is presented to the web browser. To try to fix this I am capturing the token after the session is established through the session.getSessionToken() method and then loading the cookie up to the browser with a name of LtpaToken and a correct domain set. I am getting a token string that appears to be valid, but Domino still sends me to the session login screen. The token is being presented to the web browser, but is obviously invalid.

Anybody have any luck manually sending an LTPA token to the browser when using a servlet that is not running on Domino and then have Domino SSO accept it?

thanks in advance.

~john

here is the relevant code..

Session session = NotesFactory.createSession("domino.domain.com",user,pwd);

String token = session.getSessionToken();
Cookie c = new Cookie("LtpaToken",token);
c.setDomain("domain.com");
resp.addCookie(c);






Problem with Domino LTPA token and ... (~Sigmund Nimnub... 16.Apr.03)
. . RE: Problem with Domino LTPA token ... (~Sigmund Nimnub... 16.Apr.03)
. . . . RE: Problem with Domino LTPA token ... (~Umberto Elfana... 23.Apr.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS